package com.cinc.mdm.constant;

/**
 * 编码规则类型
 *
 * @author wangxing
 * @date 2021/10/13 8:37
 */
public class MdmConstant {

    /*
     * 编码规则类型：
     */
    // 物料编码
    public static final String CODE_TYPE01 = "01";
    // 客户编码
    public static final String CODE_TYPE02 = "02";
    // 合同编码
    public static final String CODE_TYPE03 = "03";
    // 付款单
    public static final String CODE_TYPE33 = "33";
    // 收款单
    public static final String CODE_TYPE34 = "34";


    /*
     * 系统参数编码
     */
    // 物料自动编码
    public static final String SYS_PARAM001 = "mdm001";

    /*
     * 公司、部门、工厂
     */
    // 公司
    public static final String DEPT_TYPE01 = "01";
    // 部门
    public static final String DEPT_TYPE02 = "02";
    // 工厂
    public static final String DEPT_TYPE03 = "03";

    /*
     * 移动业务类型
     */
    // 采购入库
    public static final String MOVE_TYPE101 = "101";
    public static final String MOVE_TYPE102 = "102";
    // 采购退货
    public static final String MOVE_TYPE122 = "122";
    // 盘盈入库
    public static final String MOVE_TYPE701 = "701";
    // 盘亏出库
    public static final String MOVE_TYPE702 = "702";
    // 调拨入库
    public static final String MOVE_TYPE313 = "313";
    // 调拨出库
    public static final String MOVE_TYPE314 = "314";
    // 销售发货
    public static final String MOVE_TYPE601 = "601";
    // 销售退货
    public static final String MOVE_TYPE602 = "602";
    //物资领料
    public static final String MOVE_TYPE201 = "201";
    //物资退料/冲销
    public static final String MOVE_TYPE202 = "202";
    //生产订单领料
    public static final String MOVE_TYPE261 = "261";
    //生产订单退料/冲销
    public static final String MOVE_TYPE262 = "262";


    /*
     * 是否
     */
    // 是
    public static final String YES = "1";
    // 否
    public static final String NO = "0";

    /*
     * 出入库标志
     */
    // 出
    public static final String OUT = "o";
    // 入
    public static final String IN = "i";

    /*
     * 采购单状态
     */
    // 新建
    public static final String PUR_NEW = "01";
    // 部分交货
    public static final String PUR_HANDLE = "02";
    // 完成
    public static final String PUR_FINISH = "03";
    // 关闭
    public static final String PUR_CLOSE = "99";

}
